package cn.azzhu.springdemo.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "boot")
@Data
public class ConfigInfo {

    private String name;

    private String pwd;
}
